<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * Class ActivityOrder
 * @package App
 */
class ActivityOrder extends Model
{
    /**
     * @var array
     */
    protected $fillable=['activity_name','activity_id','user_id','activity_price','username','counts','phone','rules'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function activity()
    {
        return $this->belongsTo(Activity::class);
    }
}
